package com.franklin.maven.localcleaner.utils;

import com.franklin.maven.localcleaner.ui.PluginIcons;
import com.intellij.openapi.ui.MessageDialogBuilder;

/**
 * @author: Ye Junhui
 * @since : 2022/4/2 0002
 */
public class DialogUtils {

    public static boolean showConfirmDialog(String title,String message){
        return MessageDialogBuilder.yesNo(title,message)
                .icon(PluginIcons.SERVICE)
                .isYes();
    }
}
